﻿<navigation:Page xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="OpenRPOS.Login" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="Login Page">
    <Grid x:Name="LayoutRoot">
        <Canvas Margin="138,43,525,36" Name="canvasMain" Height="308" VerticalAlignment="Center" HorizontalAlignment="Center">
            <Image HorizontalAlignment="Left" Height="140" VerticalAlignment="Top" Width="140" Source="/OpenRPOS;component/Images/LogoColorNoText.jpeg" Canvas.Left="112" Canvas.Top="-71"/>
            <sdk:Label Canvas.Top="62" HorizontalAlignment="Center" Width="367" Content="OpenRPOS" FontSize="36" FontFamily="Segoe UI Light" Canvas.Left="-10"/>
            <sdk:Label Canvas.Left="19" Canvas.Top="119" Content="Username" Height="18" HorizontalContentAlignment="Right" Name="titleUser" VerticalContentAlignment="Center" Width="77" />
            <TextBox Canvas.Left="101" Canvas.Top="112" Height="30" Name="tbUsername" Width="215" />
            <sdk:Label Canvas.Left="11" Canvas.Top="157" Content="Password" Height="18" HorizontalContentAlignment="Right" Name="titlePassword" VerticalContentAlignment="Center" Width="85" />
            <PasswordBox Canvas.Left="101" Canvas.Top="151" Height="30" Name="pbPassword" Width="215" KeyDown="pbPassword_KeyDown" />
            <Button Canvas.Left="139" Canvas.Top="189" Content="Login" Height="30" Name="btnLogin" Width="91" Click="btnLogin_Click" />
            <sdk:Label Canvas.Top="225" Content="Invalid Username/Password" Height="27" HorizontalContentAlignment="Center" Name="titleMessage" Visibility="Collapsed" VerticalContentAlignment="Center" Width="372" FontWeight="Bold" FontSize="14" />
        </Canvas>
        <Rectangle x:Name="WaitCursor" Fill="Transparent" Margin="0" Visibility="Collapsed" Cursor="Wait"/>
    </Grid>
</navigation:Page>
